package com.tech.koufu.ui.activity.setting;

import com.tech.koufu.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

public class ChangUser extends Activity{
	private TextView tv_title;
	private ImageView img_callback;
	private Button btn_kflogin,btn_qqlogin;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_changeuser);
		initView();
	}

	private void initView(){
		tv_title = (TextView)findViewById(R.id.tv_title);
		tv_title.setText("账号切换");
		tv_title.setVisibility(View.VISIBLE);
		img_callback = (ImageView)findViewById(R.id.img_callback);
		btn_kflogin = (Button)findViewById(R.id.btn_kflogin);
		btn_qqlogin = (Button)findViewById(R.id.btn_qqlogin);
		img_callback.setOnClickListener(myOnClick);
		btn_kflogin.setOnClickListener(myOnClick);
		btn_qqlogin.setOnClickListener(myOnClick);
	}

	private OnClickListener myOnClick = new OnClickListener() {

		@Override
		public void onClick(View v) {
			switch (v.getId()) {
			case R.id.btn_kflogin:
				
				break;
			case R.id.btn_qqlogin:
				
				break;
			case R.id.img_callback:
				ChangUser.this.finish();
				break;
			default:
				break;
			}
		}
	};

}
